package lec10api2;

import java.util.Random;

public class RandomTest {
    public static void main(String[] args) {
        for (int i = 0; i < 10; i++) {
            System.out.println(Math.random());
        }
        Random seed = new Random();
        for (int i = 0; i < 10; i++)
            System.out.println(seed.nextInt(6) + 1);
    }
}
